home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
misc
/
cpk
/
arexx
/
startup.cpk
< prev
next >
Wrap
Text File
|
1994-06-15
|
611b
|
37 lines
/*
* CPK ARexx example startup file
*
* Author: Eric G. Suchanek, Ph.D.
* Copyright © 1993, 1994 Eric G. Suchanek, Ph.D. All Rights Reserved
*
* You must launch cpk first to run this script.
*
*/
Options FailAt 100
Options Results
address cpk1
'VectorMode ON'
if rc > 0 then say 'Error was 'CPK.LASTERROR
'SwapColors ON'
if rc > 0 then say 'Error was 'CPK.LASTERROR
'Verbose ON'
'render'
exit
/* don't use this for the initial startup script, since the ARexx
port doesn't exactly exist at startup time. */
Locate_CPK:
if POS('CPK' , SHOW('Ports')) = 0 then
return 0
else
return 1
end if